package com.xinruke.hostels.system.manage.interfaces.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author jinzhi
 */
@ApiModel("楼层增加DTO")
@Data
public class FloorAddQueryDTO {

    /**
     * 楼层开始
     */
    @ApiModelProperty(value = "楼层开始", required = true)
    @NotNull(message = "楼层开始不能为空")
    private Integer louchengkaishi;

    /**
     * 楼层结束
     */
    @ApiModelProperty(value = "楼层结束", required = true)
    @NotNull(message = "楼层结束不能为空")
    private Integer louchengjieshu;

    /**
     * 锁号
     */
    @ApiModelProperty(value = "锁号")
    private String suohao;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述", required = true)
    private String miaoshu;

    /**
     * 缩略图
     */
    @ApiModelProperty(value = "缩略图")
    private String suoluetu;

    /**
     * 楼栋ID
     */
    @ApiModelProperty(value = "楼栋ID", required = true)
    @NotNull(message = "楼栋不能为空")
    private Integer loudongId;
}
